package com.tourism.entity;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import com.tourism.entity.common.LongBasicEntity;
import lombok.Data;

import java.util.Date;

/**
 * @Description
 * @Author z
 * @Date 2021-05-01 16:49
 */
@Data
public class AttractionEvaluation extends LongBasicEntity {

    /**
     * 景点订单id
     */
    @JsonSerialize(using = ToStringSerializer.class)
    private Long attractionOrderId;
    /**
     * 景点id
     */
    @JsonSerialize(using = ToStringSerializer.class)
    private Long attractionId;
    /**
     * 门票名称
     */
    private String ticketName;
    /**
     * 评价内容
     */
    private String evaluationContent;
    /**
     * 星级
     */
    private int star;

    /**
     * 评价人
     */
    @JsonSerialize(using = ToStringSerializer.class)
    private Long evaluationUser;
    /**
     * 评价人
     */
    private String evaluationUserName;
    /**
     * 评价人头像
     */
    private String evaluationUserImage;
}
